package com.klasster.recruitmentPlatform.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.klasster.recruitmentPlatform.domain.po.Company;
import org.apache.ibatis.annotations.Select;

public interface CompanyMapper extends BaseMapper<Company> {

    @Select("SELECT * FROM company WHERE company_name = #{company_name}")
    Company selectByCompanyName(String company_name);


    @Select("SELECT * FROM company WHERE owner_id = #{owner_id}")
    Company selectByOwnerID(Long owner_id);
}
